-
Couldn't load subscription status.
- Fork 918
GODRIVER-3098 Sync SDAM spec tests at 348d2f39. #1986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GODRIVER-3098 Sync SDAM spec tests at 348d2f39. #1986
Conversation
API Change ReportNo changes found! |
f0aa407 to
e0de429
Compare
e0de429 to
9d0de54
Compare
9d0de54 to
8c8559b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR synchronizes SDAM spec tests to commit 348d2f39 in preparation for dropping support for MongoDB 3.6 and adjusts test skip logic accordingly. Key changes include:
- Adding a new skip tests file (internal/spectest/skip.go) and updating skip logic in unified spec tests.
- Removing redundant, hardcoded skipped test mappings in unified_spec_runner.
- Updating YAML test files to revise maxWireVersion values from 6 to 21 and minor test naming adjustments.
Reviewed Changes
Copilot reviewed 222 out of 222 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| internal/spectest/skip.go | New file providing centralized skip test configuration. |
| internal/integration/unified_spec_test.go | Updated to call the new CheckSkip function instead of using legacy mappings. |
| internal/integration/unified/unified_spec_runner.go | Removed redundant skippedTests mapping in favor of centralized handling. |
| testdata/server-discovery-and-monitoring/*.yml | Updated maxWireVersion from 6 to 21 to align with spec changes. |
| internal/serverselector/server_selector_test.go | Removed manual filename trimming to simplify test naming. |
| bson/bson_corpus_spec_test.go | Adjusted test naming for consistency and adherence to Go style. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for merging once #1985 is merged.
The merge-base changed after approval.
8c8559b to
e48a5e8
Compare
GODRIVER-3098
Summary
Background & Motivation
Part of a stack of changes that must be reviewed in order: